import {ref} from 'vue'
import {type Iperson} from '@/type/person'

export default function(){
    let person = ref<Iperson>({id:'111',name:'z3',age:18})
    function changePersion(){
        person.value.name += '~'
    }
    return {person,changePersion}
}